package com.tina;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import redis.clients.jedis.Jedis;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.SessionCookieConfig;
import javax.servlet.SessionTrackingMode;
import java.util.Collections;

/**
 * Run App
 *
 * @author tina
 */
@SpringBootApplication
@MapperScan("com.tina.mapper")
public class TinaApplication  {

    public static void main(String[] args) {
        try {
            SpringApplication.run(TinaApplication.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }

        System.out.println("" +
                "\n" +
                "\t   █████▒█    ██  ▄████▄   ██ ▄█▀       ██████╗ ██╗   ██╗ ██████╗\n" +
                "\t  ▓██   ▒ ██  ▓██▒▒██▀ ▀█   ██▄█▒        ██╔══██╗██║   ██║██╔════╝\n" +
                "\t  ▒████ ░▓██  ▒██░▒▓█    ▄ ▓███▄░        ██████╔╝██║   ██║██║  ███╗\n" +
                "\t  ░▓█▒  ░▓▓█  ░██░▒▓▓▄ ▄██▒▓██ █▄        ██╔══██╗██║   ██║██║   ██║\n" +
                "\t  ░▒█░   ▒▒█████▓ ▒ ▓███▀ ░▒██▒ █▄       ██████╔╝╚██████╔╝╚██████╔╝\n" +
                "\t   ▒ ░   ░▒▓▒ ▒ ▒ ░ ░▒ ▒  ░▒ ▒▒ ▓▒       ╚═════╝  ╚═════╝  ╚═════╝\n" +
                "\t   ░     ░░▒░ ░ ░   ░  ▒   ░ ░▒ ▒░\n" +
                "\t   ░ ░    ░░░ ░ ░ ░        ░ ░░ ░\n" +
                "\t            ░     ░ ░      ░  ░        Run Success!@ Tina （o´・ェ・｀o）");
    }

}
